package com.android.tripspins.app.helper;

import java.util.concurrent.BlockingQueue;

/**
 * Created by joaortk on 02/04/2014.
 */
public class ThreadPoolHelper {

    private static BlockingQueue<Runnable> threadQueue;
    private static ThreadPoolHelper instance;
    private ThreadPoolHelper ()
    {

    }
    public ThreadPoolHelper getInstance()
    {
        if(instance == null)
        {
         instance = new ThreadPoolHelper();
        }
        return instance;
    }
    public void addThread(Runnable thread)
    {
        threadQueue.add(thread);
    }


}
